﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004F5 RID: 1269
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ExchangeRogueBuffWithMiracleCsReq : IMessage<ExchangeRogueBuffWithMiracleCsReq>, IMessage, IEquatable<ExchangeRogueBuffWithMiracleCsReq>, IDeepCloneable<ExchangeRogueBuffWithMiracleCsReq>, IBufferMessage
	{
		// Token: 0x1700106D RID: 4205
		// (get) Token: 0x0600396B RID: 14699 RVA: 0x0009DEAD File Offset: 0x0009C0AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ExchangeRogueBuffWithMiracleCsReq> Parser
		{
			get
			{
				return ExchangeRogueBuffWithMiracleCsReq._parser;
			}
		}

		// Token: 0x1700106E RID: 4206
		// (get) Token: 0x0600396C RID: 14700 RVA: 0x0009DEB4 File Offset: 0x0009C0B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ExchangeRogueBuffWithMiracleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700106F RID: 4207
		// (get) Token: 0x0600396D RID: 14701 RVA: 0x0009DEC6 File Offset: 0x0009C0C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ExchangeRogueBuffWithMiracleCsReq.Descriptor;
			}
		}

		// Token: 0x0600396E RID: 14702 RVA: 0x0009DECD File Offset: 0x0009C0CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeRogueBuffWithMiracleCsReq()
		{
		}

		// Token: 0x0600396F RID: 14703 RVA: 0x0009DED5 File Offset: 0x0009C0D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeRogueBuffWithMiracleCsReq(ExchangeRogueBuffWithMiracleCsReq other) : this()
		{
			this.monsterId_ = other.monsterId_;
			this.miracleId_ = other.miracleId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003970 RID: 14704 RVA: 0x0009DF06 File Offset: 0x0009C106
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeRogueBuffWithMiracleCsReq Clone()
		{
			return new ExchangeRogueBuffWithMiracleCsReq(this);
		}

		// Token: 0x17001070 RID: 4208
		// (get) Token: 0x06003971 RID: 14705 RVA: 0x0009DF0E File Offset: 0x0009C10E
		// (set) Token: 0x06003972 RID: 14706 RVA: 0x0009DF16 File Offset: 0x0009C116
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x17001071 RID: 4209
		// (get) Token: 0x06003973 RID: 14707 RVA: 0x0009DF1F File Offset: 0x0009C11F
		// (set) Token: 0x06003974 RID: 14708 RVA: 0x0009DF27 File Offset: 0x0009C127
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MiracleId
		{
			get
			{
				return this.miracleId_;
			}
			set
			{
				this.miracleId_ = value;
			}
		}

		// Token: 0x06003975 RID: 14709 RVA: 0x0009DF30 File Offset: 0x0009C130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ExchangeRogueBuffWithMiracleCsReq);
		}

		// Token: 0x06003976 RID: 14710 RVA: 0x0009DF3E File Offset: 0x0009C13E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ExchangeRogueBuffWithMiracleCsReq other)
		{
			return other != null && (other == this || (this.MonsterId == other.MonsterId && this.MiracleId == other.MiracleId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003977 RID: 14711 RVA: 0x0009DF7C File Offset: 0x0009C17C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this.MiracleId != 0U)
			{
				num ^= this.MiracleId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003978 RID: 14712 RVA: 0x0009DFD4 File Offset: 0x0009C1D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003979 RID: 14713 RVA: 0x0009DFDC File Offset: 0x0009C1DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600397A RID: 14714 RVA: 0x0009DFE8 File Offset: 0x0009C1E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MiracleId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.MiracleId);
			}
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600397B RID: 14715 RVA: 0x0009E040 File Offset: 0x0009C240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this.MiracleId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MiracleId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600397C RID: 14716 RVA: 0x0009E098 File Offset: 0x0009C298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ExchangeRogueBuffWithMiracleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			if (other.MiracleId != 0U)
			{
				this.MiracleId = other.MiracleId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600397D RID: 14717 RVA: 0x0009E0E8 File Offset: 0x0009C2E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600397E RID: 14718 RVA: 0x0009E0F4 File Offset: 0x0009C2F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.MonsterId = input.ReadUInt32();
					}
				}
				else
				{
					this.MiracleId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400168C RID: 5772
		private static readonly MessageParser<ExchangeRogueBuffWithMiracleCsReq> _parser = new MessageParser<ExchangeRogueBuffWithMiracleCsReq>(() => new ExchangeRogueBuffWithMiracleCsReq());

		// Token: 0x0400168D RID: 5773
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400168E RID: 5774
		public const int MonsterIdFieldNumber = 13;

		// Token: 0x0400168F RID: 5775
		private uint monsterId_;

		// Token: 0x04001690 RID: 5776
		public const int MiracleIdFieldNumber = 1;

		// Token: 0x04001691 RID: 5777
		private uint miracleId_;
	}
}
